<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<link rel="stylesheet" href="css/template.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<link rel="stylesheet" href="css/ehc.css" type="text/css" charset="utf-8" />
<script src="js/jquery.js" type="text/javascript" charset="GB2312"></script>
<script src="js/ehc.js" type="text/javascript" charset="GB2312"></script>
<script src="js/jquery.validationEngine.js" type="text/javascript" charset="GB2312"></script>
<title><s:text name="AdminLogin"/></title>
</head>
<body>

<table width="100%" height="166" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="42" valign="top"><table width="100%" height="42" border="0" cellpadding="0" cellspacing="0" class="login_top_bg">
      <tr>
        <td width="1%" height="21">&nbsp;</td>
        <td height="42">&nbsp;</td>
        <td width="17%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top">





<TABLE height="217" cellSpacing="0" cellPadding="0" width="346" align="center" border="0">
  <TBODY>
    <TR>
      <TD><img src="images/doctor_login_title.jpg" width="343" height="36"></TD>
    </TR>
    <TR>
      <TD background="images/admin_login_middle.jpg" vAlign="top" class="loginForm">
        <CENTER>
        <div style="color: red">
			<s:if test="tip!=null">
    			<s:property value="tip"/>
			</s:if>
		</div>
		<s:form id="adminLoginForm" action="doctorLogin">
			<tr>
				<td>
					<s:text name="Username"/>:
				</td>
				<td>
					<input type="text" name="username" class="validate[required,custom[noSpecialCaracters],length[4,25]]"/>
				</td>
			</tr>
			<tr>
				<td>
					<s:text name="Password"/> :
				</td>
				<td>
					<input type="password" name="password" class="validate[required,custom[noSpecialCaracters],length[4,25]]"/>
				</td>
			</tr>
			<tr>
				<td>
					<s:text name="Vercode"/>:
				</td>
				<td>
					<input type="text" name="vercode" class="validate[verCode]"/>
				</td>
			</tr>
			<s:token/>
		<tr>
		<td colspan="2" id="VercodeTD">
			<img id="vercodeImg" src="authImg.gif"/>
			<a href="javascript:refreshVercode();"><s:text name="RefreshVercode"/></a>
		</td>
		</tr>
		<tr>
		<td colspan="2">
			<s:submit key="Login" theme="simple"/>
			<s:reset key="Reset" theme="simple" />
		</td>
		</tr>
		</s:form>
      </CENTER>
      </TD>
    </TR>
    <TR>
      <TD><img src="images/admin_login_buttom.jpg" width="343" height="20"></TD>
    </TR>
  </TBODY>
</TABLE>


	</td>
  </tr>
  
</table>

</body>
</html>